<style>
  .base-title{
    border-bottom-width: 0px;
  }
</style>

<div class="panel panel-default panel-intro">
    <div  class="base-title">相关入库详情 </div>
    <ul class="nav nav-tabs navBtnB">
      <li class="active" ><a data-toggle="tab" href="#ininventory">入库申请</a></li>
      <li><a data-toggle="tab" href="#ininventory_detail">入库单详情</a></li>
    </ul>
  
    <div class="tab-content">
      <div id="ininventory" class="tab-pane fade in active">
        <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
          <thead>
            <tr>
              <th data-field="name">入库申请单号</th>
              <th data-field="price">商品名称</th>
              <th data-field="price">商品SKU</th>
              <th data-field="price">箱号</th>
              <th data-field="price">申请入库数量</th>
              <th data-field="price">实际入库数量</th>
              <th data-field="price">未入库数量</th>
              <th data-field="price">入库时间</th>
            </tr>
            <tbody>
                {foreach $items as $key=>$item}
                  <tr>
                    <td>{$item.orderId}</td>
                    <td>{$item.itemname}</td>
                    <td>{$item.itemsku}</td>
                    <td>{$item.inBoxNo}</td>
                    <td>{$item.goods_count}</td>
                    <td>{$item.pw_count}</td>
                    <td>{$item.left_count}</td>
                    <td>{$item.update_time}</td>
                  </tr>
                {/foreach}
              </tbody>
          </thead>
        </table>
      </div>
      <div id="ininventory_detail" class="tab-pane fade">
        
        <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
          <thead>
            <tr>
              <th data-field="name">入库单号</th>
              <th data-field="price">商品名称</th>
              <th data-field="price">商品SKU</th>
              <th data-field="price">入库数量</th>
              <th data-field="price">入库时间</th>
            </tr>

            <tbody>
              {foreach $inboundList as $key=>$item}
                <tr>
                  <td>{$item.main_ref}</td>
                  <td>{$item.itemname}</td>
                  <td>{$item.itemsku}</td>
                  <td>{$item.goods_count}</td>
                  <td>{$item.create_time}</td>
                </tr>
              {/foreach}
            </tbody>
          </thead>
          </table>
      </div>
    </div>

</div> 



